package cn.edu.scau.cmi.pengjiajian.dao;

import cn.edu.scau.cmi.pengjiajian.dao.Teacher;

public class Student implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	private Long id;
	private Teacher teacher;
	private String name;
	
	public Student() {
		super();
	}
	
	public Student(Long id, Teacher teacher, String name) {
		super();
		this.id = id;
		this.teacher = teacher;
		this.name = name;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}
